#ifndef GAMEDEFINE_H
#define GAMEDEFINE_H

#include <QtDebug>
#include <QGraphicsView>
#include <QGraphicsScene>
#include <QGraphicsPixmapItem>
#include "player.h"
#include <QTimer>
#include <QList>
#include <QSoundEffect>
#include "bullet.h"
#include "enemy.h"
#include <QToolButton>
#include <QRandomGenerator>
#include <QKeyEvent>
#include "widget.h"

//游戏定义类 定义游戏相关属性
class GameDefine
{
    GameDefine();
public:

    static const int PlaneShootUpdateTime = 300;
    static const int PlayerMoveUpdateTime = 20;
    static const int EnemyMoveUpdateTime = 20;
    static const int BulletMoveUpdateTime = 10;
    static const int BackgroundUpdateTime = 50;
    static const int EnemyCreateUpdateTime = 1100;
    static const int EnemyFireUpdateTime = 1700;

    static const int EnemyKillRequirment = 3;
    static const int BossHealth = 50;
    static const int BossFireTime = 800;

    constexpr static const float PI = 3.1415926535;

    //屏幕宽高
    static const int ScreenWidth = 512;
    static const int ScreenHeight = 768;
};

#endif // GAMEDEFINE_H
